package me.zhengjie.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "net-config")
public class NetConfig {
    @Value("${net-config.layUpPlc.ip}")
    private String layUpPlcIp;

    @Value("${net-config.layUpPlc.port}")
    private Integer layUpPlcPort;

    @Value("${net-config.noTwoLayUpPlc.ip}")
    private String noTwoLayUpPlcIp;

    @Value("${net-config.noTwoLayUpPlc.port}")
    private Integer noTwoLayUpPort;

    @Value("${net-config.noThreeLayUpPlc.ip}")
    private String noThreeLayUpIp;

    @Value("${net-config.noThreeLayUpPlc.port}")
    private Integer noThreeLayUpPort;

    @Value("${net-config.logisticsAreaPlc.ip}")
    private String logisticsAreaPlcIp;

    @Value("${net-config.logisticsAreaPlc.port}")
    private Integer logisticsAreaPort;

    @Value("${net-config.noOneUnbindingPlc.ip}")
    private String noOneUnbindingPlcIp;

    @Value("${net-config.noOneUnbindingPlc.port}")
    private Integer noOneUnbindingPlcPort;

    @Value("${net-config.noTwoUnbindingPlc.ip}")
    private String noTwoUnbindingPlcIp;

    @Value("${net-config.noTwoUnbindingPlc.port}")
    private Integer noTwoUnbindingPlcPort;

    @Value("${net-config.noThreeUnbindingPlc.ip}")
    private String noThreeUnbindingPlcIp;

    @Value("${net-config.noThreeUnbindingPlc.port}")
    private Integer noThreeUnbindingPlcPort;

    @Value("${net-config.unbindingSplitPlc.ip}")
    private String unBindingSplitPlcIp;

    @Value("${net-config.unbindingSplitPlc.port}")
    private Integer unBindingSplitPlcPort;

    @Value("${net-config.wcs.ip}")
    private String WcsIp;

    @Value("${net-config.wcs.port}")
    private String WcsPort;

    @Value("${net-config.wcs.task-url}")
    private String taskUrl;

    @Value("${net-config.wcs.storage-url}")
    private String storageUrl;

    @Value("${net-config.group1.ip}")
    private String group1Ip;

    @Value("${net-config.group1.port}")
    private Integer group1Port;

    @Value("${net-config.group2.ip}")
    private String group2Ip;

    @Value("${net-config.group2.port}")
    private Integer group2Port;

    @Value("${net-config.group3.ip}")
    private String group3Ip;

    @Value("${net-config.group3.port}")
    private Integer group3Port;

    @Value("${net-config.logistics.ip}")
    private String logisticsIp;

    @Value("${net-config.logistics.port}")
    private Integer logisticsPort;

    @Value("${net-config.topCover.ip}")
    private String topCoverIp;

    @Value("${net-config.topCover.port}")
    private Integer topCoverPort;

    @Value("${net-config.disassembly1.ip}")
    private String disassembly1Ip;

    @Value("${net-config.disassembly1.port}")
    private Integer disassembly1Port;

    @Value("${net-config.disassembly2.ip}")
    private String disassembly2Ip;

    @Value("${net-config.disassembly2.port}")
    private Integer disassembly2Port;

    @Value("${net-config.disassembly3.ip}")
    private String disassembly3Ip;

    @Value("${net-config.disassembly3.port}")
    private Integer disassembly3Port;

    @Value("${net-config.imsReport.ip}")
    private String imsReportIp;

    @Value("${net-config.imsReport.port}")
    private Integer imsReportPort;
}
